[INFO] cloning repository https://github.com/the1900/window-resizer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the1900/window-resizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe1900%2Fwindow-resizer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe1900%2Fwindow-resizer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 882fe79a8d3931865131d983b5f8d845d4295a72
[INFO] building the1900/window-resizer against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe1900%2Fwindow-resizer" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/the1900/window-resizer on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/the1900/window-resizer
[INFO] finished tweaking git repo https://github.com/the1900/window-resizer
[INFO] tweaked toml for git repo https://github.com/the1900/window-resizer written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/the1900/window-resizer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c8df64efc06829ff193a9ae092415975797563d12e8f93c49b12e58cb7308fb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3c8df64efc06829ff193a9ae092415975797563d12e8f93c49b12e58cb7308fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c8df64efc06829ff193a9ae092415975797563d12e8f93c49b12e58cb7308fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c8df64efc06829ff193a9ae092415975797563d12e8f93c49b12e58cb7308fb", kill_on_drop: false }`
[INFO] [stdout] 3c8df64efc06829ff193a9ae092415975797563d12e8f93c49b12e58cb7308fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ec701bb8a1d939d5062ca6ca917d688fcffbef7b03edbcf52c4dfcd5de8e2a6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9ec701bb8a1d939d5062ca6ca917d688fcffbef7b03edbcf52c4dfcd5de8e2a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling window-replacer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::prelude::*;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::shared::minwindef::LPARAM;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::BOOL;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::winuser::{EnumDesktopWindows, GetWindowTextW, IsWindowVisible, GetTopWindow, GetWindow, GW_HWNDNEXT};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::windef::HWND`, `winapi::shared::minwindef::LPARAM`, `winapi::shared::minwindef::BOOL`, `winapi::um::winuser::EnumDesktopWindows`, `winapi::um::winuser::GetWindowTextW`, `winapi::um::winuser::IsWindowVisible`, `winapi::um::winuser::GetTopWindow`, `winapi::um::winuser::GetWindow`, `winapi::um::winuser::GW_HWNDNEXT`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::windef::HWND;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | use winapi::shared::minwindef::LPARAM;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 | // use winapi::um::winuser::WNDENUMPROC;
[INFO] [stdout] 6 | use winapi::shared::minwindef::BOOL;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 | use std::ptr::null_mut;
[INFO] [stdout] 8 | use winapi::um::winuser::{EnumDesktopWindows, GetWindowTextW, IsWindowVisible, GetTopWindow, GetWindow, GW_HWNDNEXT};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 | unsafe extern "system" fn cb_window_found(handle: HWND, _params: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:14:66
[INFO] [stdout]    |
[INFO] [stdout] 14 | unsafe extern "system" fn cb_window_found(handle: HWND, _params: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:14:77
[INFO] [stdout]    |
[INFO] [stdout] 14 | unsafe extern "system" fn cb_window_found(handle: HWND, _params: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/main.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let length = GetWindowTextW(handle, ptr as *mut u16, BUFF_SIZE as i32);
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]   --> src/main.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |     if length > 0 && IsWindowVisible(handle) != 0 {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |     1 as BOOL
[INFO] [stdout]    |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDesktopWindows` in this scope
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         EnumDesktopWindows(null_mut(), Some(cb_window_found), 0 as LPARAM)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:35:68
[INFO] [stdout]    |
[INFO] [stdout] 35 |         EnumDesktopWindows(null_mut(), Some(cb_window_found), 0 as LPARAM)
[INFO] [stdout]    |                                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTopWindow` in this scope
[INFO] [stdout]   --> src/main.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut window = GetTopWindow(null_mut());
[INFO] [stdout]    |                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/main.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let length = GetWindowTextW(window, ptr as *mut u16, BUFF_SIZE as i32);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]   --> src/main.rs:49:26
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if length > 0 && IsWindowVisible(window) != 0 {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindow` in this scope
[INFO] [stdout]   --> src/main.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 54 |         window = GetWindow(window, GW_HWNDNEXT);
[INFO] [stdout]    |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GW_HWNDNEXT` in this scope
[INFO] [stdout]   --> src/main.rs:54:36
[INFO] [stdout]    |
[INFO] [stdout] 54 |         window = GetWindow(window, GW_HWNDNEXT);
[INFO] [stdout]    |                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:23:86
[INFO] [stdout]    |
[INFO] [stdout] 23 |         println!("#@ callback from EnumDesktopWindows: {:?}-{:?}", handle, OsString::from_wide(slice));
[INFO] [stdout]    |                                                                                      ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:51:57
[INFO] [stdout]    |
[INFO] [stdout] 51 |             println!("#@ window title: {:?}", OsString::from_wide(slice));
[INFO] [stdout]    |                                                         ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `window-replacer`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "9ec701bb8a1d939d5062ca6ca917d688fcffbef7b03edbcf52c4dfcd5de8e2a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ec701bb8a1d939d5062ca6ca917d688fcffbef7b03edbcf52c4dfcd5de8e2a6", kill_on_drop: false }`
[INFO] [stdout] 9ec701bb8a1d939d5062ca6ca917d688fcffbef7b03edbcf52c4dfcd5de8e2a6
